package cn.edu.scau.dormitory_management_system.module.examine.service;

import cn.edu.scau.dormitory_management_system.module.examine.entity.CheckoutApplicationEntity;
import cn.edu.scau.dormitory_management_system.module.examine.entity.DormAdjustApplicationEntity;
import cn.edu.scau.dormitory_management_system.module.examine.entity.VO.DormAdjustApplicationVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface DormAdjustApplicationService extends IService<DormAdjustApplicationEntity> {
    boolean insertDormAdjustApplication(DormAdjustApplicationEntity application);

    IPage<DormAdjustApplicationVO> listDormAdjustApplicationsByUserId(Integer deptId, Integer pageNum, Integer pageSize);

    IPage<DormAdjustApplicationVO> listDormAdjustApplications(Integer status, Integer deptId, String name, Integer pageNum, Integer pageSize);

    boolean retreatApplication(Integer id);

}
